/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f5f5;
    color: #333;
    padding: 20px;
}

.status-manager-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.status-manager-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.status-section {
    margin-bottom: 25px;
}

.status-section h3 {
    color: #555;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.current-status-display {
    text-align: center;
    margin-bottom: 20px;
}

.status-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: white;
    display: inline-block;
}

.status-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fafafa;
}

.status-item-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-item-badge {
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    color: white;
}

.status-item-name {
    font-weight: 500;
    font-size: 14px;
}

.status-item-desc {
    font-size: 12px;
    color: #666;
    margin-top: 3px;
}

.status-item-actions {
    display: flex;
    gap: 5px;
}

.status-item-btn {
    padding: 5px 10px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.3s;
}

.set-status-btn {
    background: #667eea;
    color: white;
}

.set-status-btn:hover {
    background: #5a6fd8;
}

.edit-status-btn {
    background: #ffc107;
    color: #333;
}

.edit-status-btn:hover {
    background: #e0a800;
}

.delete-status-btn {
    background: #dc3545;
    color: white;
}

.delete-status-btn:hover {
    background: #c82333;
}

.add-status-form {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.add-status-form h4 {
    margin-bottom: 10px;
    color: #555;
}

.add-status-form input {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.add-status-form input[type="color"] {
    width: 50px;
    height: 35px;
    padding: 2px;
}

#add-status-btn {
    width: 100%;
    padding: 10px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

#add-status-btn:hover {
    background: #218838;
}

.status-actions {
    text-align: center;
}

#close-status-manager {
    padding: 10px 20px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

#close-status-manager:hover {
    background: #5a6268;
}